build_path:=../../build/
CC:=g++
include:=-I../ -I../utils/ -I../main/ -I../ctrl/ -I../service/ -I../model/
ctrl_.o: $(build_path)ctrl_CharacterCtrl.o $(build_path)ctrl_FightCtrl.o $(build_path)ctrl_PetCtrl.o $(build_path)ctrl_SceneCtrl.o
$(build_path)ctrl_CharacterCtrl.o: CharacterCtrl.cpp include/CharacterCtrl.h ../main/include/GlobalGameObj.h ../main/include/../../../../Common/PackageUtil.h ../model/include/ModelProxy.h ../model/include/MysqlProxy.h ../model/include/MemcacheProxy.h ../include/ErrorCode.h ../service/include/Character.h ../utils/include/Utils.h ../utils/include/EventParser.h
	$(CC) -fPIC $(include) -o $(build_path)ctrl_CharacterCtrl.o -c CharacterCtrl.cpp
	echo CharacterCtrl.o >> $(build_path)ctrl.d
$(build_path)ctrl_FightCtrl.o: FightCtrl.cpp include/FightCtrl.h ../main/include/GlobalGameObj.h ../main/include/../../../../Common/PackageUtil.h ../model/include/ModelProxy.h ../model/include/MysqlProxy.h ../model/include/MemcacheProxy.h ../include/ErrorCode.h ../service/include/Character.h ../service/include/Pet.h ../utils/include/Utils.h ../utils/include/EventParser.h
	$(CC) -fPIC $(include) -o $(build_path)ctrl_FightCtrl.o -c FightCtrl.cpp
	echo FightCtrl.o >> $(build_path)ctrl.d
$(build_path)ctrl_PetCtrl.o: PetCtrl.cpp include/PetCtrl.h ../main/include/GlobalGameObj.h ../main/include/../../../../Common/PackageUtil.h ../model/include/ModelProxy.h ../model/include/MysqlProxy.h ../model/include/MemcacheProxy.h ../include/ErrorCode.h ../service/include/Pet.h ../utils/include/Utils.h ../utils/include/EventParser.h
	$(CC) -fPIC $(include) -o $(build_path)ctrl_PetCtrl.o -c PetCtrl.cpp
	echo PetCtrl.o >> $(build_path)ctrl.d
$(build_path)ctrl_SceneCtrl.o: SceneCtrl.cpp include/SceneCtrl.h ../main/include/GlobalGameObj.h ../main/include/../../../../Common/PackageUtil.h ../model/include/ModelProxy.h ../model/include/MysqlProxy.h ../model/include/MemcacheProxy.h ../include/ErrorCode.h ../service/include/Scene.h ../service/include/Character.h ../utils/include/Utils.h
	$(CC) -fPIC $(include) -o $(build_path)ctrl_SceneCtrl.o -c SceneCtrl.cpp
	echo SceneCtrl.o >> $(build_path)ctrl.d
.PHONY: clean
clean:
	rm -f $(build_path)*.o
